public class Feeder {
    private String name;

    public Feeder(String name) {
        this.name = name;
    }

    public void speak() {
        System.out.println("欢迎来到动物园!");
        System.out.println("我是饲养员 " + name);
    }

    public void feed(Animal animal, Food food) {
        animal.shout();
        animal.eat(food);
    }
}
